Does that hurt the engine?

When I ride my A3 1.9 TDi with 130 Ps at such 190 km/h on the train then I am in the 6th gear so on almost 3200 revolutions/minute. From 5000 my car is in the red area. Let’s assume that I drive like this for an hour. (Of course only when the engine is really warm ). Is that bad for the car ? ( Mileage:345.000 but much has been renewed recently and still runs super without problems)