Czech Railways is back in the black showing a profit of 158 million crowns at the end of the second quarter, the ctk news agency reports.