If those Church teachings are wrong, and should be corrected, then the thousands of gay priests aren't working toward progress one bit if they stay in the closet.   By staying in the closet, they're only reinforcing the notion that being gay is too shameful to admit.  

If they truly believe being gay is OK, and there's no problem with a gay pastor giving marriage advice to straight couples, then they should just be honest about their orientation.   The Church wasn't set up to serve priests, but for priests to serve the laity.